<?php
echo '<pre>';
require '../class/Upload.php';
	/**
	 * 构造函数
	 * @param [type] $dir       [储存目录]
	 * @param string $allowSize [允许大小]
	 * @param array  $allowType     [允许类型]
	 */
$obj = new Upload();
$file =$obj->upload();

print_r($file);


